#ifndef BUTTON_H
#define BUTTON_H

#include <QString>
#include <QWidget>

class Button
{
public:
    Button();

public:
    quint8 mCId;
    quint8 mBId;
    quint8 mRId;
    QString mName;
    quint8 mNotUsed;

    quint8 mPos;
    quint16 mX;
    quint16 mY;
    quint16 mCX;
    quint16 mCY;

    quint16 mRType;   // 0(Relay), xy1(x:flagRemote, y:isHeating)

    quint8 mStatus;

    QWidget *mWidget;
};

#endif // BUTTON_H
